/**********************************************************************/
/*   ____  ____                                                       */
/*  /   /\/   /                                                       */
/* /___/  \  /                                                        */
/* \   \   \/                                                       */
/*  \   \        Copyright (c) 2003-2009 Xilinx, Inc.                */
/*  /   /          All Right Reserved.                                 */
/* /---/   /\                                                         */
/* \   \  /  \                                                      */
/*  \___\/\___\                                                    */
/***********************************************************************/

/* This file is designed for use with ISim build 0x141a37e9 */

#define XSI_HIDE_SYMBOL_SPEC true
#include "xsi.h"
#include <memory.h>
#ifdef __GNUC__
#include <stdlib.h>
#else
#include <malloc.h>
#define alloca _alloca
#endif
static const char *ng0 = "/home/snepomny/Downloads/new.v";
static unsigned int ng1[] = {0U, 0U};
static int ng2[] = {0, 0};
static unsigned int ng3[] = {1U, 0U};
static unsigned int ng4[] = {2U, 0U};
static unsigned int ng5[] = {3U, 0U};
static unsigned int ng6[] = {4U, 0U};
static unsigned int ng7[] = {6U, 0U};
static unsigned int ng8[] = {5U, 0U};
static unsigned int ng9[] = {7U, 0U};
static unsigned int ng10[] = {8U, 0U};
static unsigned int ng11[] = {9U, 0U};
static unsigned int ng12[] = {10U, 0U};
static unsigned int ng13[] = {11U, 0U};
static unsigned int ng14[] = {12U, 0U};
static unsigned int ng15[] = {13U, 0U};
static unsigned int ng16[] = {14U, 0U};
static unsigned int ng17[] = {15U, 0U};



static void Cont_29_0(char *t0)
{
    char t4[8];
    char *t1;
    char *t2;
    char *t3;
    char *t5;
    unsigned int t6;
    unsigned int t7;
    unsigned int t8;
    unsigned int t9;
    unsigned int t10;
    unsigned int t11;
    char *t12;
    char *t13;
    char *t14;
    char *t15;
    char *t16;
    unsigned int t17;
    unsigned int t18;
    char *t19;
    unsigned int t20;
    unsigned int t21;
    char *t22;
    unsigned int t23;
    unsigned int t24;
    char *t25;

LAB0:    t1 = (t0 + 2336U);
    t2 = *((char **)t1);
    if (t2 == 0)
        goto LAB2;

LAB3:    goto *t2;

LAB2:    xsi_set_current_line(29, ng0);
    t2 = (t0 + 1320U);
    t3 = *((char **)t2);
    memset(t4, 0, 8);
    t2 = (t4 + 4);
    t5 = (t3 + 4);
    t6 = *((unsigned int *)t3);
    t7 = (t6 >> 0);
    t8 = (t7 & 1);
    *((unsigned int *)t4) = t8;
    t9 = *((unsigned int *)t5);
    t10 = (t9 >> 0);
    t11 = (t10 & 1);
    *((unsigned int *)t2) = t11;
    t12 = (t0 + 3136);
    t13 = (t12 + 32U);
    t14 = *((char **)t13);
    t15 = (t14 + 32U);
    t16 = *((char **)t15);
    memset(t16, 0, 8);
    t17 = 1U;
    t18 = t17;
    t19 = (t4 + 4);
    t20 = *((unsigned int *)t4);
    t17 = (t17 & t20);
    t21 = *((unsigned int *)t19);
    t18 = (t18 & t21);
    t22 = (t16 + 4);
    t23 = *((unsigned int *)t16);
    *((unsigned int *)t16) = (t23 | t17);
    t24 = *((unsigned int *)t22);
    *((unsigned int *)t22) = (t24 | t18);
    xsi_driver_vfirst_trans(t12, 3, 3);
    t25 = (t0 + 3060);
    *((int *)t25) = 1;

LAB1:    return;
}

static void Cont_30_1(char *t0)
{
    char t4[8];
    char *t1;
    char *t2;
    char *t3;
    char *t5;
    unsigned int t6;
    unsigned int t7;
    unsigned int t8;
    unsigned int t9;
    unsigned int t10;
    unsigned int t11;
    char *t12;
    char *t13;
    char *t14;
    char *t15;
    char *t16;
    unsigned int t17;
    unsigned int t18;
    char *t19;
    unsigned int t20;
    unsigned int t21;
    char *t22;
    unsigned int t23;
    unsigned int t24;
    char *t25;

LAB0:    t1 = (t0 + 2472U);
    t2 = *((char **)t1);
    if (t2 == 0)
        goto LAB2;

LAB3:    goto *t2;

LAB2:    xsi_set_current_line(30, ng0);
    t2 = (t0 + 1412U);
    t3 = *((char **)t2);
    memset(t4, 0, 8);
    t2 = (t4 + 4);
    t5 = (t3 + 4);
    t6 = *((unsigned int *)t3);
    t7 = (t6 >> 0);
    t8 = (t7 & 1);
    *((unsigned int *)t4) = t8;
    t9 = *((unsigned int *)t5);
    t10 = (t9 >> 0);
    t11 = (t10 & 1);
    *((unsigned int *)t2) = t11;
    t12 = (t0 + 3172);
    t13 = (t12 + 32U);
    t14 = *((char **)t13);
    t15 = (t14 + 32U);
    t16 = *((char **)t15);
    memset(t16, 0, 8);
    t17 = 1U;
    t18 = t17;
    t19 = (t4 + 4);
    t20 = *((unsigned int *)t4);
    t17 = (t17 & t20);
    t21 = *((unsigned int *)t19);
    t18 = (t18 & t21);
    t22 = (t16 + 4);
    t23 = *((unsigned int *)t16);
    *((unsigned int *)t16) = (t23 | t17);
    t24 = *((unsigned int *)t22);
    *((unsigned int *)t22) = (t24 | t18);
    xsi_driver_vfirst_trans(t12, 2, 2);
    t25 = (t0 + 3068);
    *((int *)t25) = 1;

LAB1:    return;
}

static void Cont_31_2(char *t0)
{
    char t4[8];
    char *t1;
    char *t2;
    char *t3;
    char *t5;
    unsigned int t6;
    unsigned int t7;
    unsigned int t8;
    unsigned int t9;
    unsigned int t10;
    unsigned int t11;
    char *t12;
    char *t13;
    char *t14;
    char *t15;
    char *t16;
    unsigned int t17;
    unsigned int t18;
    char *t19;
    unsigned int t20;
    unsigned int t21;
    char *t22;
    unsigned int t23;
    unsigned int t24;
    char *t25;

LAB0:    t1 = (t0 + 2608U);
    t2 = *((char **)t1);
    if (t2 == 0)
        goto LAB2;

LAB3:    goto *t2;

LAB2:    xsi_set_current_line(31, ng0);
    t2 = (t0 + 1320U);
    t3 = *((char **)t2);
    memset(t4, 0, 8);
    t2 = (t4 + 4);
    t5 = (t3 + 4);
    t6 = *((unsigned int *)t3);
    t7 = (t6 >> 12);
    t8 = (t7 & 1);
    *((unsigned int *)t4) = t8;
    t9 = *((unsigned int *)t5);
    t10 = (t9 >> 12);
    t11 = (t10 & 1);
    *((unsigned int *)t2) = t11;
    t12 = (t0 + 3208);
    t13 = (t12 + 32U);
    t14 = *((char **)t13);
    t15 = (t14 + 32U);
    t16 = *((char **)t15);
    memset(t16, 0, 8);
    t17 = 1U;
    t18 = t17;
    t19 = (t4 + 4);
    t20 = *((unsigned int *)t4);
    t17 = (t17 & t20);
    t21 = *((unsigned int *)t19);
    t18 = (t18 & t21);
    t22 = (t16 + 4);
    t23 = *((unsigned int *)t16);
    *((unsigned int *)t16) = (t23 | t17);
    t24 = *((unsigned int *)t22);
    *((unsigned int *)t22) = (t24 | t18);
    xsi_driver_vfirst_trans(t12, 1, 1);
    t25 = (t0 + 3076);
    *((int *)t25) = 1;

LAB1:    return;
}

static void Cont_32_3(char *t0)
{
    char t4[8];
    char *t1;
    char *t2;
    char *t3;
    char *t5;
    unsigned int t6;
    unsigned int t7;
    unsigned int t8;
    unsigned int t9;
    unsigned int t10;
    unsigned int t11;
    char *t12;
    char *t13;
    char *t14;
    char *t15;
    char *t16;
    unsigned int t17;
    unsigned int t18;
    char *t19;
    unsigned int t20;
    unsigned int t21;
    char *t22;
    unsigned int t23;
    unsigned int t24;
    char *t25;

LAB0:    t1 = (t0 + 2744U);
    t2 = *((char **)t1);
    if (t2 == 0)
        goto LAB2;

LAB3:    goto *t2;

LAB2:    xsi_set_current_line(32, ng0);
    t2 = (t0 + 1412U);
    t3 = *((char **)t2);
    memset(t4, 0, 8);
    t2 = (t4 + 4);
    t5 = (t3 + 4);
    t6 = *((unsigned int *)t3);
    t7 = (t6 >> 12);
    t8 = (t7 & 1);
    *((unsigned int *)t4) = t8;
    t9 = *((unsigned int *)t5);
    t10 = (t9 >> 12);
    t11 = (t10 & 1);
    *((unsigned int *)t2) = t11;
    t12 = (t0 + 3244);
    t13 = (t12 + 32U);
    t14 = *((char **)t13);
    t15 = (t14 + 32U);
    t16 = *((char **)t15);
    memset(t16, 0, 8);
    t17 = 1U;
    t18 = t17;
    t19 = (t4 + 4);
    t20 = *((unsigned int *)t4);
    t17 = (t17 & t20);
    t21 = *((unsigned int *)t19);
    t18 = (t18 & t21);
    t22 = (t16 + 4);
    t23 = *((unsigned int *)t16);
    *((unsigned int *)t16) = (t23 | t17);
    t24 = *((unsigned int *)t22);
    *((unsigned int *)t22) = (t24 | t18);
    xsi_driver_vfirst_trans(t12, 0, 0);
    t25 = (t0 + 3084);
    *((int *)t25) = 1;

LAB1:    return;
}

static void Always_34_4(char *t0)
{
    char *t1;
    char *t2;
    char *t3;
    char *t4;
    char *t5;
    int t6;
    char *t7;
    char *t8;
    int t9;
    int t10;
    int t11;
    char *t12;

LAB0:    t1 = (t0 + 2880U);
    t2 = *((char **)t1);
    if (t2 == 0)
        goto LAB2;

LAB3:    goto *t2;

LAB2:    xsi_set_current_line(34, ng0);
    t2 = (t0 + 3092);
    *((int *)t2) = 1;
    t3 = (t0 + 2904);
    *((char **)t3) = t2;
    *((char **)t1) = &&LAB4;

LAB1:    return;
LAB4:    xsi_set_current_line(34, ng0);

LAB5:    xsi_set_current_line(36, ng0);
    t4 = (t0 + 1504U);
    t5 = *((char **)t4);

LAB6:    t4 = ((char*)((ng1)));
    t6 = xsi_vlog_unsigned_case_compare(t5, 4, t4, 4);
    if (t6 == 1)
        goto LAB7;

LAB8:    t2 = ((char*)((ng3)));
    t6 = xsi_vlog_unsigned_case_compare(t5, 4, t2, 4);
    if (t6 == 1)
        goto LAB9;

LAB10:    t3 = ((char*)((ng4)));
    t9 = xsi_vlog_unsigned_case_compare(t5, 4, t3, 4);
    if (t9 == 1)
        goto LAB11;

LAB12:    t4 = ((char*)((ng5)));
    t10 = xsi_vlog_unsigned_case_compare(t5, 4, t4, 4);
    if (t10 == 1)
        goto LAB13;

LAB14:    t7 = ((char*)((ng6)));
    t11 = xsi_vlog_unsigned_case_compare(t5, 4, t7, 4);
    if (t11 == 1)
        goto LAB15;

LAB16:    t2 = ((char*)((ng7)));
    t6 = xsi_vlog_unsigned_case_compare(t5, 4, t2, 4);
    if (t6 == 1)
        goto LAB17;

LAB18:    t3 = ((char*)((ng8)));
    t9 = xsi_vlog_unsigned_case_compare(t5, 4, t3, 4);
    if (t9 == 1)
        goto LAB19;

LAB20:    t2 = ((char*)((ng9)));
    t6 = xsi_vlog_unsigned_case_compare(t5, 4, t2, 4);
    if (t6 == 1)
        goto LAB21;

LAB22:    t3 = ((char*)((ng10)));
    t9 = xsi_vlog_unsigned_case_compare(t5, 4, t3, 4);
    if (t9 == 1)
        goto LAB23;

LAB24:    t2 = ((char*)((ng11)));
    t6 = xsi_vlog_unsigned_case_compare(t5, 4, t2, 4);
    if (t6 == 1)
        goto LAB25;

LAB26:    t3 = ((char*)((ng12)));
    t9 = xsi_vlog_unsigned_case_compare(t5, 4, t3, 4);
    if (t9 == 1)
        goto LAB27;

LAB28:    t2 = ((char*)((ng13)));
    t6 = xsi_vlog_unsigned_case_compare(t5, 4, t2, 4);
    if (t6 == 1)
        goto LAB29;

LAB30:    t3 = ((char*)((ng14)));
    t9 = xsi_vlog_unsigned_case_compare(t5, 4, t3, 4);
    if (t9 == 1)
        goto LAB31;

LAB32:    t2 = ((char*)((ng15)));
    t6 = xsi_vlog_unsigned_case_compare(t5, 4, t2, 4);
    if (t6 == 1)
        goto LAB33;

LAB34:    t2 = ((char*)((ng16)));
    t6 = xsi_vlog_unsigned_case_compare(t5, 4, t2, 4);
    if (t6 == 1)
        goto LAB35;

LAB36:    t2 = ((char*)((ng17)));
    t6 = xsi_vlog_unsigned_case_compare(t5, 4, t2, 4);
    if (t6 == 1)
        goto LAB37;

LAB38:
LAB40:
LAB39:    xsi_set_current_line(73, ng0);

LAB51:    xsi_set_current_line(74, ng0);
    t2 = ((char*)((ng2)));
    t3 = (t0 + 1824);
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 14);
    xsi_set_current_line(75, ng0);
    t2 = ((char*)((ng2)));
    t3 = (t0 + 1732);
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 14);

LAB41:    goto LAB2;

LAB7:    xsi_set_current_line(37, ng0);

LAB42:    xsi_set_current_line(38, ng0);
    t7 = ((char*)((ng2)));
    t8 = (t0 + 1732);
    xsi_vlogvar_assign_value(t8, t7, 0, 0, 14);
    xsi_set_current_line(39, ng0);
    t2 = ((char*)((ng2)));
    t3 = (t0 + 1824);
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 14);
    goto LAB41;

LAB9:    goto LAB7;

LAB11:    goto LAB7;

LAB13:    goto LAB7;

LAB15:    xsi_set_current_line(41, ng0);

LAB43:    xsi_set_current_line(42, ng0);
    t8 = ((char*)((ng2)));
    t12 = (t0 + 1824);
    xsi_vlogvar_assign_value(t12, t8, 0, 0, 14);
    xsi_set_current_line(43, ng0);
    t2 = (t0 + 1412U);
    t3 = *((char **)t2);
    t2 = (t0 + 1732);
    xsi_vlogvar_assign_value(t2, t3, 0, 0, 14);
    goto LAB41;

LAB17:    goto LAB15;

LAB19:    xsi_set_current_line(45, ng0);

LAB44:    xsi_set_current_line(46, ng0);
    t4 = ((char*)((ng2)));
    t7 = (t0 + 1732);
    xsi_vlogvar_assign_value(t7, t4, 0, 0, 14);
    xsi_set_current_line(47, ng0);
    t2 = (t0 + 1412U);
    t3 = *((char **)t2);
    t2 = (t0 + 1824);
    xsi_vlogvar_assign_value(t2, t3, 0, 0, 14);
    goto LAB41;

LAB21:    goto LAB19;

LAB23:    xsi_set_current_line(49, ng0);

LAB45:    xsi_set_current_line(50, ng0);
    t4 = (t0 + 1320U);
    t7 = *((char **)t4);
    t4 = (t0 + 1732);
    xsi_vlogvar_assign_value(t4, t7, 0, 0, 14);
    xsi_set_current_line(51, ng0);
    t2 = ((char*)((ng2)));
    t3 = (t0 + 1824);
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 14);
    goto LAB41;

LAB25:    goto LAB23;

LAB27:    xsi_set_current_line(53, ng0);

LAB46:    xsi_set_current_line(54, ng0);
    t4 = ((char*)((ng2)));
    t7 = (t0 + 1732);
    xsi_vlogvar_assign_value(t7, t4, 0, 0, 14);
    xsi_set_current_line(55, ng0);
    t2 = (t0 + 1320U);
    t3 = *((char **)t2);
    t2 = (t0 + 1824);
    xsi_vlogvar_assign_value(t2, t3, 0, 0, 14);
    goto LAB41;

LAB29:    goto LAB27;

LAB31:    xsi_set_current_line(57, ng0);

LAB47:    xsi_set_current_line(58, ng0);
    t4 = (t0 + 1320U);
    t7 = *((char **)t4);
    t4 = (t0 + 1732);
    xsi_vlogvar_assign_value(t4, t7, 0, 0, 14);
    xsi_set_current_line(59, ng0);
    t2 = ((char*)((ng2)));
    t3 = (t0 + 1824);
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 14);
    goto LAB41;

LAB33:    xsi_set_current_line(61, ng0);

LAB48:    xsi_set_current_line(62, ng0);
    t3 = (t0 + 1320U);
    t4 = *((char **)t3);
    t3 = (t0 + 1732);
    xsi_vlogvar_assign_value(t3, t4, 0, 0, 14);
    xsi_set_current_line(63, ng0);
    t2 = (t0 + 1412U);
    t3 = *((char **)t2);
    t2 = (t0 + 1824);
    xsi_vlogvar_assign_value(t2, t3, 0, 0, 14);
    goto LAB41;

LAB35:    xsi_set_current_line(65, ng0);

LAB49:    xsi_set_current_line(66, ng0);
    t3 = (t0 + 1412U);
    t4 = *((char **)t3);
    t3 = (t0 + 1732);
    xsi_vlogvar_assign_value(t3, t4, 0, 0, 14);
    xsi_set_current_line(67, ng0);
    t2 = (t0 + 1320U);
    t3 = *((char **)t2);
    t2 = (t0 + 1824);
    xsi_vlogvar_assign_value(t2, t3, 0, 0, 14);
    goto LAB41;

LAB37:    xsi_set_current_line(69, ng0);

LAB50:    xsi_set_current_line(70, ng0);
    t3 = ((char*)((ng2)));
    t4 = (t0 + 1732);
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 14);
    xsi_set_current_line(71, ng0);
    t2 = (t0 + 1412U);
    t3 = *((char **)t2);
    t2 = (t0 + 1824);
    xsi_vlogvar_assign_value(t2, t3, 0, 0, 14);
    goto LAB41;

}


extern void work_m_00000000004231820411_0512401550_init()
{
	static char *pe[] = {(void *)Cont_29_0,(void *)Cont_30_1,(void *)Cont_31_2,(void *)Cont_32_3,(void *)Always_34_4};
	xsi_register_didat("work_m_00000000004231820411_0512401550", "isim/Test_Fullchip_isim_beh.exe.sim/work/m_00000000004231820411_0512401550.didat");
	xsi_register_executes(pe);
}
